package com.bookmanger.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bookmanger.common.result.Result;
import com.bookmanger.entity.User;
import com.bookmanger.entity.dto.LoginDTO;

/**
 * @author huangfuhao
 * @Date 2024/11/4
 */
public interface LoginService extends IService<User> {
    Result<LoginDTO> register(User user);

    Result<LoginDTO> login(User copyProperties);
}
